package com.rz.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rz.admin.entity.AdminRole;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

public interface AdminRoleMapper extends BaseMapper<AdminRole> {
    @Delete("delete from t_admin_role where admin_id = #{adminId}")
    int deleteByAdminId(@Param("adminId") Integer adminId);
}
